import service from '@/utils/request'

// @Tags TaskManager
// @Summary 创建TaskManager
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.TaskManager true "创建TaskManager"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /taskManager/createTaskManager [post]
export const createTaskManager = (data) => {
     return service({
         url: "/taskManager/createTaskManager",
         method: 'post',
         data
     })
 }


// @Tags TaskManager
// @Summary 删除TaskManager
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.TaskManager true "删除TaskManager"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /taskManager/deleteTaskManager [delete]
 export const deleteTaskManager = (data) => {
     return service({
         url: "/taskManager/deleteTaskManager",
         method: 'delete',
         data
     })
 }

// @Tags TaskManager
// @Summary 删除TaskManager
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除TaskManager"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /taskManager/deleteTaskManager [delete]
 export const deleteTaskManagerByIds = (data) => {
     return service({
         url: "/taskManager/deleteTaskManagerByIds",
         method: 'delete',
         data
     })
 }

// @Tags TaskManager
// @Summary 更新TaskManager
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.TaskManager true "更新TaskManager"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /taskManager/updateTaskManager [put]
 export const updateTaskManager = (data) => {
     return service({
         url: "/taskManager/updateTaskManager",
         method: 'put',
         data
     })
 }


// @Tags TaskManager
// @Summary 用id查询TaskManager
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.TaskManager true "用id查询TaskManager"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /taskManager/findTaskManager [get]
 export const findTaskManager = (params) => {
     return service({
         url: "/taskManager/findTaskManager",
         method: 'get',
         params
     })
 }


// @Tags TaskManager
// @Summary 分页获取TaskManager列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取TaskManager列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /taskManager/getTaskManagerList [get]
 export const getTaskManagerList = (params) => {
     return service({
         url: "/taskManager/getTaskManagerList",
         method: 'get',
         params
     })
 }